import 'package:json_annotation/json_annotation.dart';

part 'MessageFromDto.g.dart';

@JsonSerializable()
class MessageFromDto {
  MessageFromDto();

  String? traceId;
  String? event;
  int? type;
  String? to;
  String? from;
  String? content;
  String? time;

  factory MessageFromDto.fromJson(Map<String,dynamic> json) => _$MessageFromDtoFromJson(json);
  Map<String, dynamic> toJson() => _$MessageFromDtoToJson(this);

}
